package com.naiterui.ehp.bs.recommend.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/***
 * 常用处方详情
 *
 * @author yangfuya
 */
@Data
public class CommonPrescriptionDetailVO {

    @NotNull(message = "商品Id不能为空")
    @ApiModelProperty(value = "商品Id")
    private Long productId;

    @NotNull(message = "商品SKUId不能为空")
    @ApiModelProperty(value = "商品skuId")
    private Long skuId;

    @ApiModelProperty(value = "商品名")
    private String name;

    @ApiModelProperty(value = "通用名")
    private String commonName;

    @ApiModelProperty(value = "商品数量")
    private Integer quantity;

    @ApiModelProperty(value = "用法用量(填写数据)")
    private String usages;

    @ApiModelProperty(value = "备注")
    private String bakup;

    @ApiModelProperty(value = "默认用量字符串(用药频率字符串)", example = "每日3次")
    private String dosageStr;

    @ApiModelProperty(value = "用量周期")
    private Double dosageCycle;

    @ApiModelProperty(value = "用量周期单位")
    private String dosageCycleUnit;

    @ApiModelProperty(value = "用量次数")
    private String dosageCount;

    @ApiModelProperty(value = "单次用量(每次1袋中的'1')")
    private String eachDosageCount;

    @ApiModelProperty(value = "单次用量单位(每次1袋中的'袋')")
    private String eachDoseUnit;

    @ApiModelProperty(value = "用药周期(需服药3天中的'3')")
    private Integer drugCycle;

    @ApiModelProperty(value = "用药周期单位(需服药3天中的'天')")
    private String drugCycleUnit;

    @ApiModelProperty(value = "推荐数量单位")
    private String quantityUnit;

    @ApiModelProperty(value = "服用方法（口服、外用等）")
    private String usageMethod;

    @ApiModelProperty(value = "服用时间(饭前、饭后等)")
    private String usageTime;

    @ApiModelProperty(value = "商品价格")
    private String salePrice;

    @ApiModelProperty(value = "规格")
    private String spec;

    @ApiModelProperty(value = "用法用量(药品说明书)")
    private String usage;

}